﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HROReporting.Services.Interfaces;
using HROReporting.Model.Lesuren;
using HROReporting.Infrastructure.UnitOfWork;

namespace HROReporting.Services.Implementations
{
    public class LesuurService : ILesuurService
    {
        private readonly ILesuurRepository _lesuurRepository;
        private readonly IUnitOfWork _uow;

        public LesuurService(ILesuurRepository lesuurRepository, IUnitOfWork uow)
        {
            _lesuurRepository = lesuurRepository;
            _uow = uow;
        }

        public IEnumerable<Lesuur> FindAll()
        {
            return _lesuurRepository.FindAll();
        }


        public Lesuur FindBy(int id)
        {
            return _lesuurRepository.FindBy(id);
        }
    }
}
